home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
WINDOWS
/
POCKETD.ARJ
/
PSL_UNPK.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-05-23
|
706b
|
23 lines
echo off
echo PsL_Unpack: Unpack Psl self-uncompressing files each into its own subdirectory
echo usage: PSL_UNPK d1 d2
echo where 'd1' is source drive and 'd2' is the destination e.g. PSL_UNPK A: B:
if "%1"=="/?" goto exit
if "%2"=="" goto exit
%2
D /Yny/ /"////@tTransfer Drive label from %1 to %2 (y@/n) ?"
if errorlevel 2 D %1/A[V][label $f]Rv
D %1/- *@.* /ccu
d /Yny/ /"////@tRe-Compress unpacked executable files using PKLITE (y@/n) ?"
if errorlevel 2 goto pk
D %1*@.* [MD $n// CD $n// echo y $!$w// CD ..]R
goto exit
:pk
D . :PATH + PKLITE.*/En@
if errorlevel 1 goto ok
echo Cannot find PKLITE!
goto exit
:ok
D %1*@.* [MD $n// CD $n// echo y $!$w// PKLITE *.*// CD ..]R
:exit